package com.zqj.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import java.util.Collection;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zqj.pojo.User;

/**
* @author zqj
* @description 针对表【user】的数据库操作Mapper
* @createDate 2024-08-11 16:32:30
* @Entity com.zqj.pojo.User
*/
public interface UserMapper extends BaseMapper<User> {

    //批量插入
    int insertBatch(@Param("userCollection") Collection<User> userCollection);


    //查询
    List<User> selectByNameAndAgeOrderById(@Param("name") String name, @Param("age") Integer age);

}




